
<?php if ($this->session->flashdata('SUCCESS')) { ?>
    <div class="alert alert-success">
        <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <?php echo $this->session->flashdata('SUCCESS'); ?>
    </div>
<?php } ?>
<?php if ($this->session->flashdata('MESSAGE')) { ?>
    <div class="alert alert-info">
        <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <?php echo $this->session->flashdata('MESSAGE'); ?>
    </div>
<?php } ?>